#include"stdafx.h"
#include "CommandStack.h"

CommandStack::CommandStack(){};

Stack<CommandPackage> CommandStack::getCommands(){
	return Commands;
}

int CommandStack::getLength(){
	return Commands.size();
}

void CommandStack::push(CommandPackage cp){
	Commands.push(cp);
}

void CommandStack::pop(CommandPackage& cp){
	Commands.pop(cp);
}

void CommandStack::getTop(CommandPackage& cp){
	Commands.getTop(cp);
}